Table
Tables can be used to neatly display data in a row-column manner
Hedgehog Script has some built-in functions for making and showing Tables:
new Table()
is the constructor, typically you'd enter raw cvsshowTable()
is the analogue toprint()
, it will display the table
To build a table follow these steps:
Create a csv string yourself or import one
Feed the csv string into the table constructor
Use
showTable()
to output it
Here is an example:
tip
A way to check your csv string is by calling csv2mat()
It will print what the table will look like in a Matrix.